package com.ruoyi.base.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保证金信息
对象 gas_surety_info
 *
 * @author h w
 * @date 2022-12-09
 */
public class SuretyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保证金ID */
    private Long suretyId;

    /** 保证金类型  '0'采购 '1'销售  */
    @Excel(name = "保证金类型  '0'采购 '1'销售 ")
    private String suretyType;

    /** 保证金状态 '0' 未支付 '1' 已支付 */
    @Excel(name = "保证金状态 '0' 未支付 '1' 已支付")
    private String suretyStatus;

    /** 保证金金额 */
    @Excel(name = "保证金金额")
    private BigDecimal suretyAmount;

    /** 付款人 */
    @Excel(name = "付款人")
    private String paymentPerson;

    /** 付款单位 */
    @Excel(name = "付款单位")
    private String paymentUnit;

    /** 收款人 */
    @Excel(name = "收款人")
    private String receivePerson;

    /** 收款单位 */
    @Excel(name = "收款单位")
    private String receiveUnit;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    public void setSuretyId(Long suretyId)
    {
        this.suretyId = suretyId;
    }

    public Long getSuretyId()
    {
        return suretyId;
    }
    public void setSuretyType(String suretyType)
    {
        this.suretyType = suretyType;
    }

    public String getSuretyType()
    {
        return suretyType;
    }
    public void setSuretyStatus(String suretyStatus)
    {
        this.suretyStatus = suretyStatus;
    }

    public String getSuretyStatus()
    {
        return suretyStatus;
    }
    public void setSuretyAmount(BigDecimal suretyAmount)
    {
        this.suretyAmount = suretyAmount;
    }

    public BigDecimal getSuretyAmount()
    {
        return suretyAmount;
    }
    public void setPaymentPerson(String paymentPerson)
    {
        this.paymentPerson = paymentPerson;
    }

    public String getPaymentPerson()
    {
        return paymentPerson;
    }
    public void setPaymentUnit(String paymentUnit)
    {
        this.paymentUnit = paymentUnit;
    }

    public String getPaymentUnit()
    {
        return paymentUnit;
    }
    public void setReceivePerson(String receivePerson)
    {
        this.receivePerson = receivePerson;
    }

    public String getReceivePerson()
    {
        return receivePerson;
    }
    public void setReceiveUnit(String receiveUnit)
    {
        this.receiveUnit = receiveUnit;
    }

    public String getReceiveUnit()
    {
        return receiveUnit;
    }
    public void setFinishTime(Date finishTime)
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime()
    {
        return finishTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("suretyId", getSuretyId())
            .append("suretyType", getSuretyType())
            .append("suretyStatus", getSuretyStatus())
            .append("suretyAmount", getSuretyAmount())
            .append("paymentPerson", getPaymentPerson())
            .append("paymentUnit", getPaymentUnit())
            .append("receivePerson", getReceivePerson())
            .append("receiveUnit", getReceiveUnit())
            .append("finishTime", getFinishTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
